/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.threeCorePrinciples.conf;

import org.springframework.context.annotation.Bean;
import za.ac.cput.threeCorePrinciples.Impl.LizardImp;
import za.ac.cput.threeCorePrinciples.Impl.SnakeImp;
import za.ac.cput.threeCorePrinciples.Lizard;
import za.ac.cput.threeCorePrinciples.Snake;

/**
 *
 * @author Oceanwave
 */
public class AppConfig 
{

    @Bean(name = "snake")
    public Snake theSnake() 
    {
        return new SnakeImp();
    }

    @Bean(name = "lizard")
    public Lizard theLizard() 
    {
        return new LizardImp();
    }
}
